package com.niknik.woody.utils.wunit.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Module;

@Deprecated
public abstract class InjectableTest {

  private static Injector injector;

  public static Injector getInjector() {
    return injector;
  }

  protected InjectableTest(Module... modules) {
    injector = Guice.createInjector(modules);
    injector.injectMembers(this);
  }
}
